#define _CRT_SECURE_NO_WARNINGS 1
#define _CRT_SECURE_NO_WARNINGS 1
#include"algorithm.h"


template<class T>
void print(T continor) {
	for (auto e : continor) {
		cout << e << " ";
	}
}



void test() {
	vector<int> a = { 0,1,2,2 };
	totalFruit(a);


	


}

int main() {
	test();
	cout << endl;
	return 0;
}